/*************************************************************************
	> File Name: main.cc
	> Author: Joker
	> Mail: mahongtao@foxmail.com 
	> Created Time: 2020-09-22 14:52:59
 ************************************************************************/

#include "Strategy.h"

#include <iostream>
using namespace std;

void test0(){
    Strategy * pStrategy = new ConcreateStrategyA();
    Context * pContext = new Context(pStrategy);

    pContext->ContextInterface();

    delete pContext;
    /* delete pStrategy; */
}

int main(int argc,char *argv[])
{
    test0();
    return 0;
}
